package com.yzs.exam;

import com.yzs.exam.config.property.SystemConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author yzs
 * @create 2021-03-15 21:58
 */
@EnableTransactionManagement
@SpringBootApplication
@EnableConfigurationProperties(value = {SystemConfig.class}) //配置属性从配置文件读取
@EnableCaching // 开启缓存功能
public class ExamApplication {
    public static void main(String[] args) {
        System.out.println(1111);
        System.out.println("测试合并");
        System.out.println("测试合并111111111111111111");
        System.out.println("测试合并23434");
        System.out.println("测试合并11122222111111");
        System.out.println("测试合并1111222222111111");
        SpringApplication.run(ExamApplication.class,args);
    }
}
